using CSharpLearning.flappy_bird.level;
using Godot;

namespace CSharpLearning.flappy_bird.effect_area;

/// <summary>
/// 区域类型枚举
/// </summary>
enum EffectAreaType
{
    // 奖励
    Gold,
    // 阻碍，不希望玩家通过，通过也无奖励
    Block,
    // 敌人
    Challenge,
}
public partial class EffectArea:Area2D
{
    [Export]
    private GameExpression _gameExpression;
    [Export]
    private EffectAreaType _effectAreaType;

    public override void _Ready()
    {
        base._Ready();
        // FIXME:这里初始化直接绑定了EffectArea的初始化，不应该这么做
        
    }

    public void Break()
    {
        
    }
}